using System;

namespace RemoteWorker.Server
{
    public class Worker
    {
        public Worker(string name, IWorker callbackWorker)
        {
            Name = name;
            CallbackWorker = callbackWorker;
            LastPing = DateTime.Now;
        }

        public string Name { get; set; }
        public IWorker CallbackWorker { get; set; }
        public DateTime LastPing { get; set; }
    }
}